package com.ocom.wxapi.controller;

import com.alibaba.fastjson.JSONObject;
import com.ocom.common.constant.WebApiServiceUrl;
import com.ocom.common.resp.Result;
import com.ocom.wxapi.client.HumanClientService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PermissionsController {
    @Autowired
    private HumanClientService humanClientService;

    @PostMapping("/PageEnum/onShow")
    public Result pageEnumOnShow(String type){
        return humanClientService.getPageEnumByType(type);
    }
}
